Pass NMIs to DOM0 via a dedicated callback, Xen/Linux x86_64 support.
authorIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Wed, 11 Jan 2006 15:53:59 +0000 (15:53 +0000)
committerIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Wed, 11 Jan 2006 15:53:59 +0000 (15:53 +0000)
commit544a856af58d05d324b3056daa5ac7018a99d43e
tree10bb257db807c629b5a12f4c5352a42358dc7f63
parent716d68d4c2979938d4d4c36b0fe3fa34cc676621
Pass NMIs to DOM0 via a dedicated callback, Xen/Linux x86_64 support.

Register our NMI handler with Xen. Do an iret via the hypervisor
whenever the return CS is > RING0.

Add include/asm-xen/asm-x86_64/nmi.h as a Xen modified copy of
include/asm-x86_64/nmi.h in order that we can implement
get_nmi_reason() in a manner suitable for Xen.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/traps.c
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/mach-xen/setup_arch_post.h
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/nmi.h [new file with mode: 0644]